import { http } from '../https'

//伤票列表分页
export function checkListPage(data: AnyObject) {
  return http({ url: '/api/ctest/page', data })
}
//查询伤票及相关信息
export function checkFind(data: AnyObject) {
  return http({ url: '/api/ctest/find', data })
}
//修改伤票
export function checkEdit(data: AnyObject) {
  return http({ url: '/api/ctest/update', data })
}

//删除媒体数据
export function checkDelete(data: AnyObject) {
  return http({ url: '/api/cfiles/deleteBatch', data })
}
//新增媒体数据
export function checkMediaAdd(data: AnyObject) {
  return http({ url: '/api/cfiles/save', data })
}
//查询媒体数据
export function checkMediaFind(data: AnyObject) {
  return http({ url: '/api/cfiles/list', data })
}
//扫描码新增伤票信息并查询
export function checkScan(data: AnyObject) {
  return http({ url: '/api/ctest/scanTest', data })
}
//提交
export function checkSubmit(data: AnyObject) {
  return http({ url: '/api/ctest/submit', data })
}
